<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Title</title>

<script type="text/javascript">
var a = "<%=request.getSession().getId()%>";
alert(a)
</script>
</head>
<body>

	注册或登录后才能看到的界面${userInfo}
	<input type="text" th:value="${session.userInfo}" />
	<a href="/user/outUser">退出登录</a>
</body>
</html>